package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.CompanyForumAnswer.actualObject;

public class KnowledgeFroumTopicReplyActivity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    String id = getIntent().getStringExtra(KnowledgeFroumTopicReplyFragment.EXTRA_ID);
    actualObject topicAnswer = (actualObject) getIntent().getSerializableExtra(
        KnowledgeFroumTopicReplyFragment.EXTRA_VALUE);
    String type = getIntent().getStringExtra(KnowledgeFroumTopicReplyFragment.REQUEST_TYPE);
    return KnowledgeFroumTopicReplyFragment.newInstance(id, topicAnswer, type);
  }
}
